#ifndef EFFECTSCENE_H
#define EFFECTSCENE_H

#include <QGraphicsScene>
class ImageItem;

class EffectScene : public QGraphicsScene
{
    Q_OBJECT
public:
    explicit EffectScene(QObject *parent = 0);
    ~EffectScene();
    void mousePressEvent(QGraphicsSceneMouseEvent *event);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent *event);
    void mouseMoveEvent(QGraphicsSceneMouseEvent *event);

    void initList();

public:
    QList<ImageItem*>       m_ItemList;

    ImageItem*              m_backItem;
    ImageItem*              m_bgItem;

    qreal                   m_startX;
    QGraphicsItem*          m_selectitem;
    bool                    m_bmove;

    int                     m_ioldSelectItem;
    int                     m_inewSelectItem;
signals:
    void back();
public slots:

};

#endif // EFFECTSCENE_H
